﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WWDemon.Core;

namespace WebApplication1
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            WebClient client = new WebClient();
            string ipPort = TextBox1.Text;

            var result = client.GetHtml("http://localhost:8085/home/CaiJi?order=123&ipProt=" + ipPort);

            TextBox2.Text = result;
        }
    }
}